/**
 * @author monirul
 */

var GameLogModel =  new Class.create({
	
	initialize: function(){
		this._gameLog = {};
	},
	
	init:function(o){
		if(o['gameLog'] != null){
			this._gameLog = o['gameLog'];
		}
		this.gameLogUpdated = new Event(this);
	},
	
	updateList: function(gameLog) {
		this._gameLog = gameLog;
		this.gameLogUpdated.notify({'msgList': gameLog});
	},
	
	getAllMessage:function(){
		return this._gameLog;
	}
	
	
	
});
